StorePress\TwoCheckoutPaymentGateway\Payment_Gateway A

Total Complexity 59
Dependencies 2
Dependents 1
Total lines 856
Lines of code 464
Logical lines of code 128
Comment lines 275
Methods 36
Properties 9

Methods 36

Method Rating Maintainability Complexity Lines of code
shop_language()
S
44 5 50
using_supported_currency()
S
35 1 109
init_form_fields()
S
35 1 107
admin_notices()
S
62 7 10
is_available()
S
76 5 3
generate_select_html()
S
46 2 43
plugin_not_configured_message()
S
62 4 10
__construct()
S
49 2 28
needs_setup()
S
78 3 3
hook()
S
55 1 21
log()
S
65 2 9
format_item_name()
S
76 2 3
get_id()
S
82 1 3
get_api()
S
79 1 3
get_icon()
S
74 1 4
get_icon_url()
S
78 1 3
display_admin_settings_webhook_description()
S
78 1 3
get_gateway_return_url()
S
80 1 3
get_gateway_return_inline_url()
S
80 1 3
get_ipn_response_url()
S
80 1 3
get_lcn_response_url()
S
80 1 3
get_ins_response_url()
S
80 1 3
format_item_price()
S
78 1 3
get_transaction_url()
S
76 1 4
currency_not_supported_message()
S
77 1 3
process_gateway_redirect()
S
91 1 2
process_gateway_return_inline()
S
91 1 2
process_gateway_ipn_response()
S
78 1 3
process_gateway_lcn_response()
S
91 1 2
process_gateway_ins_response()
S
72 1 5
is_valid_ins_response()
S
82 1 3
order_pay_page()
S
91 1 2
ajax_order_pay_page()
S
91 1 2
order_received_page()
S
91 1 2
ajax_order_received_page()
S
91 1 2
frontend_scripts()
S
91 1 2